import {
	toPage
} from "@/utils/tools.js";

/** 
 * 监控路由信息
 * */ 

const state = () => ({
	router: []
})

const actions = {}

const mutations = {
	setRouter(state, data) {
		state.router = data
	},
	clearRouter(state) {
		state.router = []
	}
}

export default {
	namespaced: true,
	state,
	actions,
	mutations
}
